<template>
  <div id="test01">
    <h1>site : {{site}}</h1>
    <h1>url : {{url}}</h1>
    <h1>{{details()}}</h1>
  </div>
</template>

<script>

  export default {
    el: "#test01",
    name: "test01",
    data() {
      return {
        site: "菜鸟教程",
        url: "www.runoob.com",
        alexa: "10000"
      }
    },
    methods: {
      details: function () {
        return this.site + " - 学的不仅是技术，更是梦想！";
      }
    }
  }

</script>

<style scoped>

</style>
